package com.xjtu.platform;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

import java.time.ZoneId;
import java.util.TimeZone;

@SpringBootApplication()
@EnableAsync
public class PlatformApplication {
    public static void main(String[] args) throws Exception {


        TimeZone.setDefault(TimeZone.getTimeZone(ZoneId.SHORT_IDS.get("CTT")));
        ApplicationContext ctx = SpringApplication.run(PlatformApplication.class,args);

    }
}
